package com.bd.scm.domain.models.system;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 字段描述表
 * @author yufc
 * @since 2019-12-06
 */
@Data
@Accessors(chain = true)
@TableName("bd_sys_proc_desc")
public class BdSysProcDesc {

    private static final long serialVersionUID = 1L;

    @TableField("id")
    private Integer id;

    @TableField("item_class_id")
    private Integer itemClassId;

    @TableField("prop_id")
    private Integer propId;

    @TableField("column_title")
    private String columnTitle;

    @TableField("column_name")
    private String columnName;

    @TableField("data_type")
    private Integer dataType;

    @TableField("default_value")
    private String defaultValue;

    @TableField("table_name")
    private String tableName;

    @TableField("is_display")
    private Integer isDisplay;

    @TableField("column_alias")
    private String columnAlias;

    private Integer width;

    private String pinned;

    @TableField("summary_type")
    private String summaryType;

    @TableField("summary_format")
    private String summaryFormat;

    private String align;

    @TableField("menu_enable")
    private Integer menuEnable;

    private String format;

    @TableField("is_group")
    private Integer isGroup;

    @TableField("group_index")
    private Integer groupIndex;

    @TableField("is_multi_column")
    private Integer isMultiColumn;

    @TableField("multi_column_id")
    private Integer multiColumnId;

    @TableField("is_editable")
    private Integer isEditable;

    @TableField("is_sortable")
    private Integer isSortable;

    @TableField("column_type")
    private String columnType;

    @TableField("cell_renderer")
    private String cellRenderer;

    @TableField("tooltip_field")
    private String tooltipField;
}
